package com.web.params;

import javax.validation.constraints.NotEmpty;

public class ProblemParams extends ExtraParams{
	private int userId;
	@NotEmpty(message = "邮箱不能为空")
	private String mailbox;
	@NotEmpty(message = "标题不能为空")
	private String title;
	@NotEmpty(message = "主题不能为空")
	private String theme;
	
	public String getMailbox() {
		return mailbox;
	}
	public void setMailbox(String mailbox) {
		this.mailbox = mailbox;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}

}
